package com.specialized.orders.common.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.specialized.common.core.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 接机订单对象 pick_airport
 *
 * @author djh
 * @date 2024-07-24
 */
public class PickAirport implements Serializable {
    private static final long serialVersionUID=1L;

    /** 接机订单id */
    private Long pickairportId;

    /** 用户id */
            @Excel(name = "用户id")
    private Long userId;

    /** 用户手机号 */
            @Excel(name = "用户手机号")
    private String userTel;

    /** 订单号 */
            @Excel(name = "订单号")
    private String orderCard;

    /** 航班号 */
            @Excel(name = "航班号")
    private String flightNumber;

    /** 航站楼信息 */
            @Excel(name = "航站楼信息")
    private String terminalInformation;

    /** 机场名称 */
            @Excel(name = "机场名称")
    private String startPoint;

    /** 机场经度 */
            @Excel(name = "机场经度")
    private String startPointLongitude;

    /** 机场纬度 */
            @Excel(name = "机场纬度")
    private String startPointLatitude;

    /** 目的地 */
            @Excel(name = "目的地")
    private String destination;

    /** 目的地经度 */
            @Excel(name = "目的地经度")
    private String destinationLongitude;

    /** 目的地纬度 */
            @Excel(name = "目的地纬度")
    private String destinationLatitude;

    /** 距离 */
            @Excel(name = "距离")
    private Long distance;

            /**
             * 创建时间
             */
            @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
            private Date createTime;

    /** 上车时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上车时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gocarTime;

    /** 接单司机id */
            @Excel(name = "接单司机id")
    private Long driverId;

    /** 接单时间 */
            @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "接单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
            @JsonFormat(pattern = "yyyy-MM-dd")
            @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 预估价格 */
            @Excel(name = "预估价格")
    private BigDecimal predictPrice;

    /** 实际价格 */
            @Excel(name = "实际价格")
    private BigDecimal realPrice;

    /** 订单状态1：待接单2：已结单3：已上车4：待支付5：已支付6；已结束7：待评价 */
            @Excel(name = "订单状态1：待接单2：已结单3：已上车4：待支付5：已支付6；已结束7：待评价")
    private Long orderStatus;


            public Date getCreateTime() {
                return createTime;
            }


            public void setCreateTime(Date createTime) {
                this.createTime = createTime;
            }

            public void setPickairportId(Long pickairportId)
            {
            this.pickairportId = pickairportId;
            }

    public Long getPickairportId()
            {
            return pickairportId;
            }
    public void setUserId(Long userId)
            {
            this.userId = userId;
            }

    public Long getUserId()
            {
            return userId;
            }
    public void setUserTel(String userTel)
            {
            this.userTel = userTel;
            }

    public String getUserTel()
            {
            return userTel;
            }
    public void setOrderCard(String orderCard)
            {
            this.orderCard = orderCard;
            }

    public String getOrderCard()
            {
            return orderCard;
            }
    public void setFlightNumber(String flightNumber)
            {
            this.flightNumber = flightNumber;
            }

    public String getFlightNumber()
            {
            return flightNumber;
            }
    public void setTerminalInformation(String terminalInformation)
            {
            this.terminalInformation = terminalInformation;
            }

    public String getTerminalInformation()
            {
            return terminalInformation;
            }
    public void setStartPoint(String startPoint)
            {
            this.startPoint = startPoint;
            }

    public String getStartPoint()
            {
            return startPoint;
            }
    public void setStartPointLongitude(String startPointLongitude)
            {
            this.startPointLongitude = startPointLongitude;
            }

    public String getStartPointLongitude()
            {
            return startPointLongitude;
            }
    public void setStartPointLatitude(String startPointLatitude)
            {
            this.startPointLatitude = startPointLatitude;
            }

    public String getStartPointLatitude()
            {
            return startPointLatitude;
            }
    public void setDestination(String destination)
            {
            this.destination = destination;
            }

    public String getDestination()
            {
            return destination;
            }
    public void setDestinationLongitude(String destinationLongitude)
            {
            this.destinationLongitude = destinationLongitude;
            }

    public String getDestinationLongitude()
            {
            return destinationLongitude;
            }
    public void setDestinationLatitude(String destinationLatitude)
            {
            this.destinationLatitude = destinationLatitude;
            }

    public String getDestinationLatitude()
            {
            return destinationLatitude;
            }
    public void setDistance(Long distance)
            {
            this.distance = distance;
            }

    public Long getDistance()
            {
            return distance;
            }
    public void setGocarTime(Date gocarTime)
            {
            this.gocarTime = gocarTime;
            }

    public Date getGocarTime()
            {
            return gocarTime;
            }
    public void setDriverId(Long driverId)
            {
            this.driverId = driverId;
            }

    public Long getDriverId()
            {
            return driverId;
            }
    public void setStartTime(Date startTime)
            {
            this.startTime = startTime;
            }

    public Date getStartTime()
            {
            return startTime;
            }
    public void setEndTime(Date endTime)
            {
            this.endTime = endTime;
            }

    public Date getEndTime()
            {
            return endTime;
            }
    public void setPredictPrice(BigDecimal predictPrice)
            {
            this.predictPrice = predictPrice;
            }

    public BigDecimal getPredictPrice()
            {
            return predictPrice;
            }
    public void setRealPrice(BigDecimal realPrice)
            {
            this.realPrice = realPrice;
            }

    public BigDecimal getRealPrice()
            {
            return realPrice;
            }
    public void setOrderStatus(Long orderStatus)
            {
            this.orderStatus = orderStatus;
            }

    public Long getOrderStatus()
            {
            return orderStatus;
            }

@Override
public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pickairportId",getPickairportId())
            .append("userId",getUserId())
            .append("userTel",getUserTel())
            .append("orderCard",getOrderCard())
            .append("flightNumber",getFlightNumber())
            .append("terminalInformation",getTerminalInformation())
            .append("startPoint",getStartPoint())
            .append("startPointLongitude",getStartPointLongitude())
            .append("startPointLatitude",getStartPointLatitude())
            .append("destination",getDestination())
            .append("destinationLongitude",getDestinationLongitude())
            .append("destinationLatitude",getDestinationLatitude())
            .append("distance",getDistance())
            .append("createTime",getCreateTime())
            .append("gocarTime",getGocarTime())
            .append("driverId",getDriverId())
            .append("startTime",getStartTime())
            .append("endTime",getEndTime())
            .append("predictPrice",getPredictPrice())
            .append("realPrice",getRealPrice())
            .append("orderStatus",getOrderStatus())
        .toString();
        }
        }
